/**
 * 
 */
package uk.co.droidinactu.inlibrislibertas.model;

import java.util.Comparator;

/**
 * sort by book title.
 */
public class FilterEntryComparator implements Comparator<FilterEntry> {

	@Override
	public int compare(final FilterEntry o1, final FilterEntry o2) {
		final String c1 = o1.boolOp.toString();
		final String c2 = o2.boolOp.toString();
		return c1.compareTo(c2);
	}
}
